<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Plots.StackedBars Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_plots_1_1_stacked_bars.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_plots_1_1_stacked_bars-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Plots.StackedBars Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A plot element that draws stacked bars.   
 <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.Plots.StackedBars:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_plots_1_1_stacked_bars__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_plots_8_stacked_bars_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_plots_8_stacked_bars_inherit__map" id="a_vect_sharp_8_plots_8_stacked_bars_inherit__map">
<area shape="rect" title="A plot element that draws stacked bars." alt="" coords="5,79,201,104"/>
<area shape="rect" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html" title="Represents a plot element." alt="" coords="55,5,151,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ace24faae6a3f5ed4575de4770d534312"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#ace24faae6a3f5ed4575de4770d534312">StackedBars</a> (IEnumerable&lt; IReadOnlyList&lt; double &gt; &gt; data, IComparer&lt; IReadOnlyList&lt; double &gt; &gt; sorting, Func&lt; IReadOnlyList&lt; double &gt;, IReadOnlyList&lt; double &gt; &gt; getBaseline, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt; coordinateSystem)</td></tr>
<tr class="memdesc:ace24faae6a3f5ed4575de4770d534312"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html" title="A plot element that draws stacked bars.">StackedBars</a> instance.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#ace24faae6a3f5ed4575de4770d534312">More...</a><br /></td></tr>
<tr class="separator:ace24faae6a3f5ed4575de4770d534312"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2baa45372c12b6b8c107f2551ba2a492"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a2baa45372c12b6b8c107f2551ba2a492">StackedBars</a> (IEnumerable&lt; IReadOnlyList&lt; double &gt; &gt; data, Comparison&lt; IReadOnlyList&lt; double &gt; &gt; sorting, Func&lt; IReadOnlyList&lt; double &gt;, IReadOnlyList&lt; double &gt; &gt; getBaseline, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt; coordinateSystem)</td></tr>
<tr class="memdesc:a2baa45372c12b6b8c107f2551ba2a492"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html" title="A plot element that draws stacked bars.">StackedBars</a> instance.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a2baa45372c12b6b8c107f2551ba2a492">More...</a><br /></td></tr>
<tr class="separator:a2baa45372c12b6b8c107f2551ba2a492"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29071e0a2826e8ace189751040c9efef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a29071e0a2826e8ace189751040c9efef">StackedBars</a> (IEnumerable&lt; IReadOnlyList&lt; double &gt; &gt; data, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt; coordinateSystem, bool vertical=true)</td></tr>
<tr class="memdesc:a29071e0a2826e8ace189751040c9efef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html" title="A plot element that draws stacked bars.">StackedBars</a> instance.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a29071e0a2826e8ace189751040c9efef">More...</a><br /></td></tr>
<tr class="separator:a29071e0a2826e8ace189751040c9efef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac559008180638517955ef32853b7f671"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#ac559008180638517955ef32853b7f671">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:ac559008180638517955ef32853b7f671"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
  <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#ac559008180638517955ef32853b7f671">More...</a><br /></td></tr>
<tr class="separator:ac559008180638517955ef32853b7f671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a245cbde8d8059a46690bd3b32b1cf903"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:a245cbde8d8059a46690bd3b32b1cf903"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">More...</a><br /></td></tr>
<tr class="separator:a245cbde8d8059a46690bd3b32b1cf903"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a61b9378f75e8c72bc4e5fd98e62c1994"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a61b9378f75e8c72bc4e5fd98e62c1994">Vertical</a> = true<code> [get, set]</code></td></tr>
<tr class="memdesc:a61b9378f75e8c72bc4e5fd98e62c1994"><td class="mdescLeft">&#160;</td><td class="mdescRight">If this is <code>true</code>, the bars rise vertically above the X axis Otherwise, the bars grow horizontally from the Y axis.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a61b9378f75e8c72bc4e5fd98e62c1994">More...</a><br /></td></tr>
<tr class="separator:a61b9378f75e8c72bc4e5fd98e62c1994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79f3878727443b3f89848b62dff4be21"><td class="memItemLeft" align="right" valign="top">SortedSet&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a79f3878727443b3f89848b62dff4be21">Data</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a79f3878727443b3f89848b62dff4be21"><td class="mdescLeft">&#160;</td><td class="mdescRight">The data points corresponding to the tips of the bars. For each bar stack, the data point contains an element determining the position of the bar on the X axis (if <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a61b9378f75e8c72bc4e5fd98e62c1994" title="If this is true, the bars rise vertically above the X axis Otherwise, the bars grow horizontally from...">Vertical</a> is <code>true</code>, or on the Y axis otherwise), and a set of elements determining the length of each segment in the bar stack.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a79f3878727443b3f89848b62dff4be21">More...</a><br /></td></tr>
<tr class="separator:a79f3878727443b3f89848b62dff4be21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3e2bc46d0259780ddf7f22bb873cdb"><td class="memItemLeft" align="right" valign="top">Func&lt; IReadOnlyList&lt; double &gt;, IReadOnlyList&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a2b3e2bc46d0259780ddf7f22bb873cdb">GetBaseline</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2b3e2bc46d0259780ddf7f22bb873cdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function that returns the bottom for each bar. This function should accept a single parameter (an IReadOnlyList&lt;T&gt; of <code>double</code>s), and return another object of the same type, representing the bottom of the bar in data space.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a2b3e2bc46d0259780ddf7f22bb873cdb">More...</a><br /></td></tr>
<tr class="separator:a2b3e2bc46d0259780ddf7f22bb873cdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d23fa7087139fcc83f95960ba129040"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a9d23fa7087139fcc83f95960ba129040">Margin</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9d23fa7087139fcc83f95960ba129040"><td class="mdescLeft">&#160;</td><td class="mdescRight">The margin between consecutive bars. This should range between 0 and 1.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a9d23fa7087139fcc83f95960ba129040">More...</a><br /></td></tr>
<tr class="separator:a9d23fa7087139fcc83f95960ba129040"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97300ae9e928466f7ada3e3835dfc882"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a97300ae9e928466f7ada3e3835dfc882">CoordinateSystem</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a97300ae9e928466f7ada3e3835dfc882"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a97300ae9e928466f7ada3e3835dfc882">More...</a><br /></td></tr>
<tr class="separator:a97300ae9e928466f7ada3e3835dfc882"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a799861109a3813cdc70d80c147feb763"><td class="memItemLeft" align="right" valign="top">IReadOnlyList&lt; <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a799861109a3813cdc70d80c147feb763">PresentationAttributes</a> = new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>[] { new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>() }<code> [get, set]</code></td></tr>
<tr class="memdesc:a799861109a3813cdc70d80c147feb763"><td class="mdescLeft">&#160;</td><td class="mdescRight">Presentation attributes for the bars. An element from this collection is used for each segment in the stack; if there are more segments than elements in this collection, the presentation attributes are wrapped.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a799861109a3813cdc70d80c147feb763">More...</a><br /></td></tr>
<tr class="separator:a799861109a3813cdc70d80c147feb763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aded3591de860db48b50c8c4d09d4b779"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#aded3591de860db48b50c8c4d09d4b779">Tag</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aded3591de860db48b50c8c4d09d4b779"><td class="mdescLeft">&#160;</td><td class="mdescRight">A tag to identify the stacked bars in the plot.   <a href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#aded3591de860db48b50c8c4d09d4b779">More...</a><br /></td></tr>
<tr class="separator:aded3591de860db48b50c8c4d09d4b779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td colspan="2" onclick="javascript:toggleInherit('properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html">VectSharp.Plots.IPlotElement</a></td></tr>
<tr class="memitem:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">CoordinateSystem</a><code> [get]</code></td></tr>
<tr class="memdesc:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">More...</a><br /></td></tr>
<tr class="separator:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A plot element that draws stacked bars.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00325">325</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ace24faae6a3f5ed4575de4770d534312" name="ace24faae6a3f5ed4575de4770d534312"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace24faae6a3f5ed4575de4770d534312">&#9670;&#160;</a></span>StackedBars() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.StackedBars.StackedBars </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IComparer&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>sorting</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&lt; IReadOnlyList&lt; double &gt;, IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>getBaseline</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html" title="A plot element that draws stacked bars.">StackedBars</a> instance.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data points corresponding to the tips of the bars. For each bar stack, the data point contains an element determining the position of the bar on the X axis (if <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a61b9378f75e8c72bc4e5fd98e62c1994" title="If this is true, the bars rise vertically above the X axis Otherwise, the bars grow horizontally from...">Vertical</a> is <code>true</code>, or on the Y axis otherwise), and a set of elements determining the length of each segment in the bar stack.</td></tr>
    <tr><td class="paramname">sorting</td><td>A comparer used to sort the bars.</td></tr>
    <tr><td class="paramname">getBaseline</td><td>A function that returns the bottom for each bar. This function should accept a single parameter (an IReadOnlyList&lt;T&gt; of <code>double</code>s), and return another object of the same type, representing the bottom of the bar in data space.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00399">399</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a2baa45372c12b6b8c107f2551ba2a492" name="a2baa45372c12b6b8c107f2551ba2a492"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2baa45372c12b6b8c107f2551ba2a492">&#9670;&#160;</a></span>StackedBars() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.StackedBars.StackedBars </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Comparison&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>sorting</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func&lt; IReadOnlyList&lt; double &gt;, IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>getBaseline</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html" title="A plot element that draws stacked bars.">StackedBars</a> instance.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data points corresponding to the tips of the bars. For each bar stack, the data point contains an element determining the position of the bar on the X axis (if <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a61b9378f75e8c72bc4e5fd98e62c1994" title="If this is true, the bars rise vertically above the X axis Otherwise, the bars grow horizontally from...">Vertical</a> is <code>true</code>, or on the Y axis otherwise), and a set of elements determining the length of each segment in the bar stack.</td></tr>
    <tr><td class="paramname">sorting</td><td>A comparer used to sort the bars.</td></tr>
    <tr><td class="paramname">getBaseline</td><td>A function that returns the bottom for each bar. This function should accept a single parameter (an IReadOnlyList&lt;T&gt; of <code>double</code>s), and return another object of the same type, representing the bottom of the bar in data space.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00418">418</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a29071e0a2826e8ace189751040c9efef" name="a29071e0a2826e8ace189751040c9efef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29071e0a2826e8ace189751040c9efef">&#9670;&#160;</a></span>StackedBars() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.StackedBars.StackedBars </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>vertical</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html" title="A plot element that draws stacked bars.">StackedBars</a> instance.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data points corresponding to the tips of the bars. For each bar stack, the data point contains an element determining the position of the bar on the X axis (if <em>vertical</em>  is <code>true</code>, or on the Y axis otherwise), and a set of elements determining the length of each segment in the bar stack.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
    <tr><td class="paramname">vertical</td><td>If this is <code>true</code> (the default), the bars rise vertically above the X axis Otherwise, the bars grow horizontally from the Y axis.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00430">430</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac559008180638517955ef32853b7f671" name="ac559008180638517955ef32853b7f671"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac559008180638517955ef32853b7f671">&#9670;&#160;</a></span>Plot()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.Plots.StackedBars.Plot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
 </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00433">433</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a97300ae9e928466f7ada3e3835dfc882" name="a97300ae9e928466f7ada3e3835dfc882"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97300ae9e928466f7ada3e3835dfc882">&#9670;&#160;</a></span>CoordinateSystem</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt;IReadOnlyList&lt;double&gt; &gt; VectSharp.Plots.StackedBars.CoordinateSystem</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The coordinate system used to transform the points from data space to plot space.  </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00372">372</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a79f3878727443b3f89848b62dff4be21" name="a79f3878727443b3f89848b62dff4be21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79f3878727443b3f89848b62dff4be21">&#9670;&#160;</a></span>Data</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SortedSet&lt;IReadOnlyList&lt;double&gt; &gt; VectSharp.Plots.StackedBars.Data</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The data points corresponding to the tips of the bars. For each bar stack, the data point contains an element determining the position of the bar on the X axis (if <a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html#a61b9378f75e8c72bc4e5fd98e62c1994" title="If this is true, the bars rise vertically above the X axis Otherwise, the bars grow horizontally from...">Vertical</a> is <code>true</code>, or on the Y axis otherwise), and a set of elements determining the length of each segment in the bar stack.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00341">341</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a2b3e2bc46d0259780ddf7f22bb873cdb" name="a2b3e2bc46d0259780ddf7f22bb873cdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b3e2bc46d0259780ddf7f22bb873cdb">&#9670;&#160;</a></span>GetBaseline</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Func&lt;IReadOnlyList&lt;double&gt;, IReadOnlyList&lt;double&gt; &gt; VectSharp.Plots.StackedBars.GetBaseline</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A function that returns the bottom for each bar. This function should accept a single parameter (an IReadOnlyList&lt;T&gt; of <code>double</code>s), and return another object of the same type, representing the bottom of the bar in data space.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00348">348</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a9d23fa7087139fcc83f95960ba129040" name="a9d23fa7087139fcc83f95960ba129040"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d23fa7087139fcc83f95960ba129040">&#9670;&#160;</a></span>Margin</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.StackedBars.Margin</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The margin between consecutive bars. This should range between 0 and 1.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00353">353</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a799861109a3813cdc70d80c147feb763" name="a799861109a3813cdc70d80c147feb763"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a799861109a3813cdc70d80c147feb763">&#9670;&#160;</a></span>PresentationAttributes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IReadOnlyList&lt;<a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>&gt; VectSharp.Plots.StackedBars.PresentationAttributes = new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>[] { new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>() }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Presentation attributes for the bars. An element from this collection is used for each segment in the stack; if there are more segments than elements in this collection, the presentation attributes are wrapped.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00380">380</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="aded3591de860db48b50c8c4d09d4b779" name="aded3591de860db48b50c8c4d09d4b779"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aded3591de860db48b50c8c4d09d4b779">&#9670;&#160;</a></span>Tag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.Plots.StackedBars.Tag</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A tag to identify the stacked bars in the plot.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00385">385</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<a id="a61b9378f75e8c72bc4e5fd98e62c1994" name="a61b9378f75e8c72bc4e5fd98e62c1994"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61b9378f75e8c72bc4e5fd98e62c1994">&#9670;&#160;</a></span>Vertical</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool VectSharp.Plots.StackedBars.Vertical = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>If this is <code>true</code>, the bars rise vertically above the X axis Otherwise, the bars grow horizontally from the Y axis.  </p>

<p class="definition">Definition at line <a class="el" href="_bars_8cs_source.html#l00333">333</a> of file <a class="el" href="_bars_8cs_source.html">Bars.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.Plots/<a class="el" href="_bars_8cs_source.html">Bars.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_plots.html">Plots</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_plots_1_1_stacked_bars.html">StackedBars</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
